export default  (value)=>{
//    console.log(value)
   let date = new Date(value)
   console.log(date)
   let y = date.getFullYear();
   let m = date.getMonth()+1;
   m= m<10? "0"+m:m;
   let d = date.getDate();
   d= d<10? "0"+d:d;

   let h = date.getHours();
   h= h<10? "0"+h:h;
   
   let mi = date.getMinutes();
   mi= mi<10? "0"+mi:mi;

   let s = date.getSeconds();
   s= s<10? "0"+s:s;

    return  y + "/"+ m + "/" + d + "  "+ h +":"+ mi +":"+s

}


// moment.js  day.js 插件  专门处理时间日期的插件    原生js能力  Date对象